package com.sailing.xjpb.common.exception;


import com.sailing.xjpb.common.web.ResponseCode;

/**
 * 系统通用数据转换异常类，对应业务码 {@linkplain ResponseCode#CONVERSION_ERROR}
 *
 * @author YaoWei 2020年10月29日
 */
public class ConvertException extends SailingException {

	/**
	 *
	 */
	private static final long serialVersionUID = 1L;

	public ConvertException(String msg) {
		super(ResponseCode.CONVERSION_ERROR.code(), msg);
	}

	public ConvertException(String msg, Throwable t) {
		super(ResponseCode.CONVERSION_ERROR.code(), msg, t);
	}

	public ConvertException(ResponseCode responseStatus, String msg) {
		super(responseStatus, msg);
	}

	public ConvertException(ResponseCode responseStatus, String msg, Throwable t) {
		super(responseStatus, msg, t);
	}
}
